package com.opennews.openplatform.dto.user;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
public class UpdateUserDto {
    @NotBlank(message = "fullName is required")
    @Size(max = 50, message = "fullName must be less than 50 characters")
    private String fullName;

    @Size(max = 200, message = "Description must be less than 200 characters")
    private String description;
}
